package top.stacktrace.binfo;

import org.apache.dubbo.common.constants.CommonConstants;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@DubboService(version = "1.0.0")
public class BookServiceImpl implements BookService {
    @Autowired
    private BkService bkService;
    public List<Book> getBooks(){
        System.out.println("call me...");
        return bkService.getBooks();
    }
}
